package cn.com.cifi.mars.service;
import cn.com.cifi.mars.bean.dto.returnPlan.ReturnCoefficientDetailDto;
import cn.com.cifi.mars.bean.vo.returnPlan.ReturnPlanReturnCoefficientDetailVo;
import cn.com.cifi.mars.entity.ReturnCoefficientDetail;
import cn.com.cifi.mars.entity.ReturnPlanVersion;
import cn.com.cifi.mars.entity.ReturnPlanVersionCoefficient;
import cn.com.cifi.mars.entity.common.IdmUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 回款计划版本系数表 服务类
 * </p>
 *
 * @author JingYuanXiang
 * @since 2020-11-05
 */
public interface ReturnPlanVersionCoefficientService extends IService<ReturnPlanVersionCoefficient> {

    //获取创建回款计划版本来源回款系数名称
    String getCreateSourceCoefficient(String projectId, String signPlanVersionId);
    //创建回款系数
    void createList(ReturnPlanVersion returnPlanVersion,IdmUser user);
    //基于投资版回款系数创建回款系数
    void createByInvestmentList(ReturnPlanVersion returnPlanVersion,IdmUser user);
    //获取回款系数详情列表
    List<ReturnCoefficientDetail> getReturnCoefficientDetailListByReturnPlanVersionId(String returnPlanVersionId);
    //获取回款计划回款系数
    List<ReturnPlanReturnCoefficientDetailVo> getReturnCoefficientDetailList(String versionId);
    //获取回款系数详情列表
    List<ReturnCoefficientDetailDto> getReturnCoefficientDetailListByReturnPlanVersionIdList(List<String> versionIdList);
}
